﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class m_Accounting_Cleck : DataObject
    {

        [Column]
        public string Clerk { get { return _Clerk; } set { _Clerk = value; EntityState.FieldChange("Clerk"); } }
        private string _Clerk;
        public static FieldInfo clerk = new FieldInfo("m_Accounting_Cleck", "Clerk");

        [Column]
        public string Name_Of_Accounting_Clerk { get { return _Name_Of_Accounting_Clerk; } set { _Name_Of_Accounting_Clerk = value; EntityState.FieldChange("Name_Of_Accounting_Clerk"); } }
        private string _Name_Of_Accounting_Clerk;
        public static FieldInfo name_of_accounting_clerk = new FieldInfo("m_Accounting_Cleck", "Name_Of_Accounting_Clerk");

        [Column]
        public string Name_Of_Accounting_Clerk_ZH { get { return _Name_Of_Accounting_Clerk_ZH; } set { _Name_Of_Accounting_Clerk_ZH = value; EntityState.FieldChange("Name_Of_Accounting_Clerk_ZH"); } }
        private string _Name_Of_Accounting_Clerk_ZH;
        public static FieldInfo name_of_accounting_clerk_zh = new FieldInfo("m_Accounting_Cleck", "Name_Of_Accounting_Clerk_ZH");

        [Column]
        [NowDate]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } }
        private DateTime _Time;
        public static FieldInfo time = new FieldInfo("m_Accounting_Cleck", "Time");

        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } }
        private int _Status;
        public static FieldInfo status = new FieldInfo("m_Accounting_Cleck", "Status");
    }
}
